﻿using System.Collections.Generic;
using Abp.Application.Services;
using Hicap.AuthorizationServer.Core.Common;
using Hicap.AuthorizationServer.Core.Identity;
using Hicap.AuthorizationServer.Core.Managers;

namespace Hicap.AuthorizationServer.Application.Sys
{
    public class NotifyAppService : ApplicationService
    {
        private readonly INotificationManager _manager;

        public NotifyAppService(INotificationManager manager) : base()
        {
            _manager = manager;
        }

        [HicapAuthorize(SpeicaAuthCode.UserActive)]
        public void FinishedMessage(List<int> idList)
        {
            _manager.FinishedMessage(idList);
        }
    }
}